<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>登录</title>
		<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="css/common.css" />
		<link rel="stylesheet" type="text/css" href="css/login.css" />
	</head>

	<body>
		<nav class="navbar navbar-default" role="navigation">
			<div class="container-fluid">
				<div class="navbar-header">
					<a href="#" class="navbar-brand">梦三科技</a>
				</div>
				<div>
					<ul class="nav navbar-nav navbar-right ">
						<li class="active">
							<a href="#">关于我们</a>
						</li>
						<li>
							<a href="#">联系我们</a>
						</li>
					</ul>
				</div>
			</div>
		</nav>
		<div id="login_contect">
			<div id="myCarousel" class="carousel slide" data-ride="carousel">
				<div class="carousel-inner" role="listbox">
					<div class="item active">
						<img src="img/01.jpg" width="100%" alt="First slide Responsive image" />
					</div>
					<div class="item">
						<img src="img/02.jpg" width="100%" alt="Second slide" />
					</div>
					<div class="item">
						<img src="img/03.jpg" width="100%" alt="Third slide" />
					</div>
				</div>
			</div>
			<!--登录-->
			<div class="login_contect_main" id="form1">
				<form action="user/login.do" role="form" method="post">
					<div class="form-group text-primary text-center">
						<h3>用户登录</h3>
					</div>
					<div class="form-group">
						<input type="text" name="uname" id="uname" class="form-control" placeholder="用户名" />
					</div>
					<span id="erro1"></span>
					<div class="form-group">
						<input type="password" name="upsd" id="upsd" class="form-control" placeholder="密码" />
					</div>
					<span id="erro2"></span>
					<div class="form-group">
						<input type="checkbox" />记住密码 
					</div>
					<div class="form-group">
						<input type="button" id="btn" class="btn btn-primary btn-block" onclick="change()" value="注册账号" />
					</div>
					<div class="form-group">
						<input type="submit" onclick="cheak()" name="btn" id="btn" value="登录" class="btn btn-primary btn-block" />
					</div>
				</form>
			</div>
			<!--注册-->

			<div id="register_main">
				<form action="user/regist.do" method="post" role="form" class="form">
					<div class="form-group text-primary text-center">
						<h3>注册</h3>
					</div>
					<div class="form-group">
						<input type="text" name="uname" id="uname" class="form-control " placeholder="用户名" /><label for="username"></label>
					</div>
					<div class="form-group">
						<input type="text" name="upsd" id="upsd" class="form-control" placeholder="密码" /><label for="password"></label>
					</div>
					<div class="form-group">
						<input type="text" name="repassword" id="repassword" class="form-control" placeholder="确认密码" />
						<p></p>
					</div>
					<div class="form-group">
						<input type="checkbox" name="hid" id="hid" value="1" class="checkbox-inline"/>运动
						<input type="checkbox" name="hid" id="hid" value="2"  class="checkbox-inline"/>书籍
						<input type="checkbox" name="hid" id="hid" value="3" class="checkbox-inline"/>旅游
						<input type="checkbox" name="hid" id="hid" value="4" class="checkbox-inline"/>宠物
						<input type="checkbox" name="hid" id="hid" value="5" class="checkbox-inline"/>其他
					</div>
					<div class="form-group">
						<input type="submit" value="注册" class="btn btn-block btn-primary" onclick="cheak()" />
					</div>
					<div class="form-group">
						<input type="button" name="btn" id="btn" value="返回" class="btn btn-block btn-primary" onclick="rechange()" />
					</div>
					
				</form>
			</div>

		</div>
		<div id="login_footer">
			<nav class="navbar navbar-default">
				<ul class="nav navbar-nav navbar-right">
					<li>
						<a href="">@重庆邮电大学移通学院双体系--梦三组</a>
					</li>
					<li></li>
				</ul>
			</nav>
		</div>
		<script type="text/javascript" src="js/login.js"></script>
		<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
		<script type="text/javascript" src="js/bootstrap.min.js"></script>
	</body>

</html>